home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / GSBug / Notes.text < prev    next >
Encoding:
Text File  |  1991-10-11  |  2.3 KB  |  82 lines  |  [TEXT/MWII]

  1. GSBug Notes
  2.  
  3.  
  4. Help
  5. ?
  6. Weird screen stuff (every other column is a column of spaces)
  7. OFF
  8. ON
  9. Breakpoint
  10. bp
  11. <value to break on>
  12. <tab>    or <spacebar> to set 1 as the iteration to break on
  13. <iteration to break at; e.g., 1>    or “i” for conditional breakpoints
  14. <esc>
  15. in    sets real-time breakpoints
  16. r    return to program execution
  17. Breakpoint conditionally
  18. bp
  19. <value to break on>
  20. <right arrow>
  21. i     for conditional breakpoints
  22. <esc>
  23. SETIF <B or W> expression    exprssn operators: =, # (not equal), <, > (greater than or equal)
  24. SETIF W A<#$0101    break if word in accum is less than the constant (#) $0101
  25. SETIF B $021234=$034321    break if byte at $02/1234 is the same as byte at $03/4321
  26. SETIF W X>Y    break if word in X greater than word in Y (regs: AXYSDPB)
  27. in    sets real-time breakpoints
  28. r    return to program execution
  29. Breakpoint if value in register is such-and-such
  30. setif W A>#$0001    W for word value; A for accum; > for ≥; so if accum>0, then break
  31. bp
  32. <value to break on>
  33. <right arrow>
  34. i    for ‘if’; puts ‘IF’ in iteration area
  35. <esc>
  36. in    sets real-time breakpoints
  37. r
  38. Memory, display
  39. <address>    16 bytes on the command line
  40. <address>:    flip to memory screen (21 lines, 16 bytes each) (ESC to return)
  41. DP:    direct page
  42. DP:xxx    16 bytes from direct page:xxx to command line
  43. <address>::    indirection: use 2 bytes at address
  44. <address>:::    indirection: use 3 bytes at address
  45. <spacebar>    next block of memory
  46. Memory, set
  47. <address>:value    put hex value in memory starting at address
  48. Monitor, visit
  49. Mon    NOTE: it blows K / PC / Stack / DP / B / ...  Use NiftyList!
  50. Ctrl-Y <return>    return to GSBug
  51. Nifty List shortcut
  52. N    transfers control to NiftyList
  53. OS Breaks
  54. SetOSBrk _OpenGS    append GS for Class 1 calls!!!
  55. OSBrkIn
  56. ShowBrks
  57. Registers, alter contents (case sensitive)
  58. <register>=<value>    use A, X, Y, K, PC, K/PC, B, D, S, P (& M,Q,L)
  59. x    toggles x bit of P
  60. m    toggles m bit of P
  61. e    toggles emulation mode
  62. DPAGE    sets D to direct page allocated for user by GSBug
  63. STACK    sets S to stack allocated for user by GSBug
  64. Set Step-and-Trace highlighted line
  65. Set
  66. <up-arrow> <up-arrow> ...    as many times as necessary
  67. <esc>
  68. CSave *:System:System.Setup:GSBug.Setup
  69. Step
  70. S
  71. <space>     for each step
  72. X    skip across a jsr or jsl
  73. <downarrow>    skip next instruction
  74. Templates
  75. _templates    display templategroups
  76. _<templategroup>    display templatenames
  77. _<templatename> <addr>    display memory at <addr> in the form of the template
  78. Tool Breaks
  79. SetTBrk _ShutDownTools
  80. TBrkIn 
  81. ShowBrks
  82.